Closed Bug 1658699 (better-white-space-normalizer) Opened 5 years ago Closed 1 month ago

[meta] Ship Blink-compat white-space normalizer

Categories

(Core :: DOM: Editor, enhancement, P3)

enhancement

Tracking

()

RESOLVED FIXED
139 Branch
Tracking Status
relnote-firefox --- 139+
firefox139 --- fixed

People

(Reporter: masayuki, Assigned: masayuki)

References

(Depends on 2 open bugs, Blocks 15 open bugs)

Details

(Keywords: meta, webcompat:platform-bug)

User Story

platform-scheduled:2025-06-30

Attachments

(1 file)

This is not decided, but perhaps, we should ship it for better compatibility with Chrome and the new one is faster and simpler than our traditional normalizer. However, before shipping it, we need to fix a lot of WPT failures, see "white-spaces-after-*":
https://wpt.fyi/results/editing/other?label=master&label=experimental&q=editing%2Fother

Depends on: 1670518
Alias: better-white-space-normalizer
Summary: Ship Blink-compat white-space normalizer in Nightly channel → [meta] Ship Blink-compat white-space normalizer in Nightly channel
Blocks: 1925038
See Also: → 1940377
See Also: 1940377
Summary: [meta] Ship Blink-compat white-space normalizer in Nightly channel → [meta] Ship Blink-compat white-space normalizer

Setting tentative scheduled info.

User Story: (updated)

Let's ship it within 139.

Assignee: nobody → masayuki
Status: NEW → ASSIGNED
Pushed by masayuki@d-toybox.com: https://hg.mozilla.org/integration/autoland/rev/e22987f5c904 Enable the new white-space normalizer in the all channels r=m_kato
Status: ASSIGNED → RESOLVED
Closed: 1 month ago
Resolution: --- → FIXED
Target Milestone: --- → 139 Branch

We had previously called this out in the Nightly relnotes. Is this something you wanted to mention in the Fx139 relnotes now that it's riding the trains to release?

Flags: needinfo?(masayuki)

Release Note Request (optional, but appreciated)
[Why is this notable]: This changes one of the big different behavior between builtin editors of Gecko and the other browsers
[Affects Firefox for Android]: Yes.
[Suggested wording]: The builtin editor for contenteditable and designMode starts handling collapsible white-space(s) before block boundary and white-space sequence between visible contents as similar to Chrome. This means that Gecko stops inserting padding <br> element after white-space before a block boundary like the other browsers.
[Links (documentation, blog post, etc)]: https://groups.google.com/a/mozilla.org/g/dev-platform/c/AApo_nCuR78

relnote-firefox: --- → ?
Flags: needinfo?(masayuki)
QA Whiteboard: [qa-triage-done-c140/b139]
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: